package com.ai.model.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;

/**
 * @Author jiaok
 * @Date 2024-10-30 14:35
 */
@Data
@Getter
@Setter
public class CoalMaintenanceAlarmRecordDto {


    @ApiModelProperty(value = "检修sid")
    @NotBlank(message = "检修sid不能为空")
    private String maintenanceSid;

    @ApiModelProperty(value = "累计时长")
    private Integer accumulatedDuration;

    @ApiModelProperty(value = "检修状态(1检修中，2检修正常,3检修时长不足)")
    private String maintenanceState;

    @ApiModelProperty(value = "摄像头id")
    @NotBlank(message = "摄像头id不能为空")
    private String cameraId;

    @ApiModelProperty(value = "摄像头code")
    private String cameraCode;



    @ApiModelProperty(value = "单次检修时长")
    private Integer maintenanceDuration;

    @ApiModelProperty(value = "开始检修时间")
    private String beginMaintenanceTime;

    @ApiModelProperty(value = "开始检修图片")
    private String beginMaintenanceSnapPhoto;

    @ApiModelProperty(value = "结束检修时间")
    private String endMaintenanceTime;

    @ApiModelProperty(value = "结束检修图片")
    private String endMaintenanceSnapPhoto;

    @ApiModelProperty(value = "最后一次信息推送")
    private Boolean isFinalReq;

}
